﻿//===============================================================================
// Microsoft patterns & practices Enterprise Library Contribution
// Mapping Application Block
//===============================================================================

using System;

namespace EntLibContrib.Mapping.QuickStart.DomainObjects
{
	public abstract class Identity : OwnerDomainBase
	{
		private string name;
		private string password;
		private string email;
		private DateTime suspendDate;

		[Map()]
		public string Name
		{
			get { return name; }
			set { name = value; }
		}

		[Map()]
		public string Password
		{
			get { return password; }
			set { password = value; }
		}

		[Map()]
		public string Email
		{
			get { return email; }
			set { email = value; }
		}

		[Map()]
		public DateTime SuspendDate
		{
			get { return suspendDate; }
			set { suspendDate = value; }
		}

		protected Identity()
		{ }
	}
}
